package com.qiaofang.applet.service.other.repository;

import com.qiaofang.applet.service.other.domain.YxImUser;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 网易云信im
 *
 * @author junze.liu
 */
@Repository
public interface YxImUserRepository extends MongoRepository<YxImUser, String> {
    YxImUser findFirstByAccidAndUserTypeAndCorporationCode(String accid, String userType,String corporationCode);

    List<YxImUser> findListByAccidIn(List<String> accidList);
}
